@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');


header {
	width: 100%;
	height: 8.4em;	
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	background: #ffffff;
	border-bottom: 1px solid #5A876E;	
	z-index: 1000;
}

body {	
	font-family: 'Roboto', sans-serif;
}

/* Navigation */
nav {
	position: fixed; 
	top: 0;
	right: 12em;
}

nav ul {
	height: 8.1em;
	line-height: 8.1em;
	display: flex;
	margin: 0;
	padding: 0;
	float: right;
	text-align: center;	
}

nav ul li {
	list-style: none;
	display: inline-block;
}

nav ul li a {
	padding: 2.75em 1em 2.75em 1em;
	color: #5A876E;
	font-size: 1.3em;
	text-decoration: none;
	font-weight: bold;
	/*transition: all 0.2s ease;*/
	vertical-align: text-bottom;
}

nav ul li a:hover {
	color: #ffffff;
	background: #005AA0;
}


main {
	margin-top: 10em;
	margin-bottom: 2.7em;
	margin-left: 15%;
	margin-right: 15%;
}




a {
	text-decoration: none;
	color: #000;
}
a:hover {
	font-weight: bold;
}

main a {
	color: #005AA0; 
}
main a:hover {
	font-weight: bold;	
}

blockquote { 
	padding: 10px; 
	border-left: thin solid blue; 
}


footer {
	width: 100%;
	height: 1.3em;	
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	background: #b0b0b0;
	text-align: center;
}

footer a {
	color: #005AA0;
}

/* Figure PdF Logo - Header*/
figure {
	float: left;
	width: 20em;
}

figure img {
	width: 100%;
}

figure figcaption {
	padding: 0.3em 0 0 0;
	text-size: 2em;
	width: 100%;
}

#wappen {
	height: 8em;
	position: absolute;
	top: 0.2em;
	right: 1em;
}

#gruppen {
	width: 10em;
	float: right;
}


#faq {
	width: 16em;
	float: right;
	padding-left: 1em;
}

img {
	max-width: 100%;
}	

h1, h2 {
	color: #005AA0;
}



/*FAQ Accordion*/
label {
    display: block;    
	padding: 1em 5em 1em 1em;
	cursor: pointer;
	background: #005AA0;
	color: #ffffff;
	transition: ease .5s;
	position: relative;
}

label:hover {
	background: #94b8a4;
}

label::after {
    content: '+';
    font-size: 2.2em;
    font-weight: bold;
    position: absolute;
    right: 1em;
    top: 5px;
}

input:checked + label:after {
    content: '-';
    right: 1em;
    top: 5px;
}

.content {
    background: #ffffff;
    padding: 1.2em;
    border: 3px solid #94b8a4;
}

input + label + .content {
	display: none;
}

input:checked + label + .content {
	display: block;
}

input {
	display: none;
}

/* Galerie */
.photo-container {
	display: grid;
	grid-template-columns: auto auto;
	grid-template-columns: 50% 50%;
	grid-gap: 1em;
}

.photo-box {
	width: 100%;
	height: 100%;
}

div.polaroid {
	width: 100%;
	background-color: #ffffff;
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

div.polaroid-text {
	text-align: center;
	padding: 0.25em 0 0.5em 0;
	background-color: #eee;
	color: #5A876E;
	
	vertical-align: middle;
	align-self: center; 
}

/* Gruppen-Übersicht */
.grid-container {
  display: grid;
  grid-gap: 3em 2.5em;
  justify-content: left;
  grid-template-columns: 12.5% 30% 12.5% 30% ;
}

.grid-item {
	padding:  0 0 0 0;
	font-size: 1.2em;
	vertical-align: middle;
	text-align: left;
	/*width: 10em;*/
	align-self: center; 
}

.grid-img img {
	border-radius: none;
	max-width: 100%;
}

.grid-img-square img {
	border-radius: 4.5em;
	max-width: 100%;
}


/* low res */
@media (height < 35em) and (orientation: landscape) {	
    #main-img-large {
        display:none;
    }
    #main-img-avg {
        display:none;
    }	
    #main-img-lower {
        display:none;
    }
    #main-img-low {
        width: 100%;
    }
}

/* less res */
@media (height >= 35em) and (height < 42em) and (orientation: landscape) {
    #main-img-large {
        display:none;
    }
    #main-img-avg {
        display:none;
    }	
    #main-img-low {
        display:none;
    }
    #main-img-lower {
        width: 100%;
    }
}

/* normal */
@media (height >= 42em) and (height < 60em)  and (orientation: landscape) {
    #main-img-large {
        display:none;
    }
    #main-img-low {
        display:none;
    }
    #main-img-lower {
        display:none;
    }
    #main-img-avg {
        width: 100%;
    }
}

/* large */
@media (height >= 60em) or (orientation: portrait) {
    #main-img-avg {
        display:none;
    }
    #main-img-low {
        display:none;
    }
    #main-img-lower {
        display:none;
    }
    #main-img-large {
        width: 100%;
    }
}
